/*
 * SelectionKey.cpp
 *
 *  Created on: Jul 12, 2016
 *      Author: Lucifer
 */

#include "./SelectionKey.h"
#include "./Selector.h"

namespace BFX {

void SelectionKey::cancel() {
	// TODO lock
	if (_valid) {
		_valid = false;
		_selector->cancel(this);
	}
}

} /* namespace BFX */
